/**
 * QueryCondition
 */
export interface QueryCondition {
  field: string;
  operator?: string;
  value: any;

  [property: string]: any;
}

/**
 * SortParam
 */
export interface SortParam {
  asc?: boolean;
  field?: string;

  [property: string]: any;
}

/**
 * queryPagesType
 */
export interface queryPagesType {
  allFields?: string[];
  conditions: QueryCondition[];
  logic?: string;
  pageNo?: number;
  pageSize?: number;
  sortParams?: SortParam[];
}
